<?php
/**
 * Pizzapack Frontend Default Layout
 *
 * @package				com_pizzapack
 * @subpackage		components
 * @link					http://www.digitar.net
 * @license				GNU/GPL
 */
		
	// no direct access
	defined( '_JEXEC' ) or die( 'Restricted access' );
	
	require_once('lib/FirePHPCore/FirePHP.class.php');
	ob_start();
	$firephp = FirePHP::getInstance(true);
	require("inc/db.php");
	require("inc/functions.php");
?>
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="inc/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="inc/js/custom.js"></script>
	<style type="text/css" media="screen">
		html{
			background: url(images/bg.jpg);
			border: 0px;
			margin: 0;
			padding: 0;
		}
		body{
			border: 0px;
			margin: 0;
			padding: 0;
		}
		#page {
			margin: 0px auto;
			width: 800px;
		}
		#menu {
			position: relative;
			height: 2px;
			margin-left: 5px;
		}
		.gallery{
			margin: 30px auto;
			width: 100%;
			padding-top: 120px;
		}
		.menuitem{
	   		background: #afec77;
		}
		.menutarget{
			background-color:White;
			display: none;
			border-bottom: 5px solid Red;
			border-left: 5px solid Red;
			border-right: 5px solid Red;
			left:268px !important;
		}
		img{
			border:0px;
		}
	</style>
	<script type='text/javascript' src='js/prototype.js'></script>
	<script type='text/javascript' src='js/scriptaculous.js?load=effects'></script>
	<script type='text/javascript' src='js/e24tabmenu.js'></script>
	<script type="text/javascript">
	    function initApp() {
	        oe24TabMenu = new e24TabMenu('menu', { mode: 'uppertabs', duration: 1.0, transition: Effect.Transitions.sinoidal });
	    }
	    Event.observe(window, 'load', initApp, false);
	</script>
<!-- start floation -->
<script type='text/javascript' src='js/floating/jquery.floatobject-1.0.js'></script>
<script type="text/javascript">
//ref : conflict => http://codeimpossible.com/2010/01/13/solving-document-ready-is-not-a-function-and-other-problems/
( function($) {
    // we can now rely on $ within the safety of our â€œbodyguardâ€� function
	//ref : floating => http://www.amirharel.com/2009/08/05/implementing-floating-div/#doc
	$(document).ready(main);
	function main()
	{
		$("#slidingTopWrap").makeFloat();
	}
} ) ( jQuery );
</script>
<!-- end floation -->
<body>
<div id='kolchi'>
<!-- start panier a droite -->
<div id="slidingTopWrap" style="position: absolute; top: 2px; left: 40px;">
		<div id="slidingTopContent">
			<div id="basketWrap">
				<div id="basketTitleWrap">
					Votre panier <span id="notificationsLoader"></span>
				</div>
				<div id="basketItemsWrap">
					<ul>
					<li></li>
					<?php getBasket(); ?>
					<li> <?php
					echo '<div style=" color:Black; font-weight:bold; background-color:White; text-align:right;"><a href="commander.php">Commander</a></div>'
					 ?> </li>
					</ul>
				</div>
			</div>
		</div>
		<div id="slidingTopFooter">
			<div id="slidingTopFooterLeft">
				<img src="images/arrow-down.png" alt="Commander en ligne" /> <div style="font-weight:bold;"><a href="no-js.htm" onclick="return false;" id="slidingTopTrigger">Commander en ligne</a></div>
			</div>
		</div>
	</div>
<!-- end panier a droite  -->
	<div id="contentWrap">
		<div id="contentWrapLeft">
<div id="page">
	<div id="menu" ><!-- menu  container -->
		<div id="item_3d" class="menutarget">
			<div class="gallery" >
			sss
				</div>
			</div>
		</div>
	</div>
<?php
getProducts('pizza', ''); //$element = 'pizza'; $filter = '';
getProducts('dessert', 'dessert'); //$element = 'pizza'; $filter = '';
getProducts('bfraiches', 'bfraiches'); //$element = 'pizza'; $filter = '';
getProducts('viande', 'v'); //$element = 'pizza'; $filter = '';
getProducts('couscous', 'c'); //$element = 'pizza'; $filter = '';
getProducts('pates', 'p'); //$element = 'pizza'; $filter = '';
?>
<div id="maincontent">
	<a href="index.php" >
		<div id="logo"></div>
	</a>
	<div id="laiha">
		<a id="pizza" href="#pizzas" rel="e24menuitem[item_pizza]"><img src="images/page_accueil/pizza.jpg" alt="Commander des pizzas" /></a>
		<a id="viande" href="#viande" rel="e24menuitem[item_viande]"><img src="images/page_accueil/viandes.jpg" alt="Commander de la viande" /></a>
		<a id="couscous" href="#couscous" rel="e24menuitem[item_couscous]"><img src="images/page_accueil/couscous.jpg" alt="Commander du couscous" /></a>
		<a id="pates" href="#pates" rel="e24menuitem[item_pates]"><img src="images/page_accueil/pates.jpg" alt="Commander des pÃ¢tes" /></a>
		<a id="dessert" href="#dessert" rel="e24menuitem[item_dessert]"><img src="images/page_accueil/dessert.jpg" alt="Commander des desserts" /></a>
		<a id="bfraiches" href="#bfraiches" rel="e24menuitem[item_bfraiches]"><img src="images/page_accueil/bfraiches.jpg" alt="Commander des boissons fraÃ®ches" /></a>
	</div>
	<div id="WessteYassar">
	<div id="header"></div>
	<table id="table_menu">
		<tr>
			<td><?php getMenu('menu1', '93');?></td>
			<td><?php getMenu('menu2', '94');?></td>
			<td><?php getMenu('menu3', '95');?></td>
		</tr>
		<tr>
			<td><?php getMenu('menu4', '96');?></td>
			<td><?php getMenu('menu5', '97');?></td>
			<td><div id="livraison"></div></td>
		</tr>
	</table>
	</div>
	<div id="WessteYamine">
	</div>
	<div id="footer"></div>
		</div><!--texto-->
	</div><!--menu container-->
	<!--End of Menu -->
</div> <!-- End page -->
</div> <!-- End kolchi -->
</body>
